Interview Questions and Answer
Options:
a. clear()
b. refresh()
c. reset()
d. delete()
Reveal Answer
Options:
a. object type data
b. primitive type data
c. string type data
d. All of the above
Reveal Answer
Options:
a. IllegalArgumentException
b. IllegalStateException
c. ClassCastException
d. NullPointerException
Reveal Answer
Options:
a. Set
b. List
c. Collection
d. SortedSet
Reveal Answer
Options:
a. returns object stored at the specified index
b. store object at the specified index
c. returns a list containing elements between specified index and end in the collection.
d. none of the above.
Reveal Answer
Options:
a. ArrayList class extends AbstractList class and implements the List interface
b. ArrayList supports dynamic array that can grow as needed
c. ArrayLists are synchronized.
d. It can coontain Duplicate elements and maintains the insertion order
Reveal Answer
Options:
a. TreeSet extends AbstractList class and implements the List interface.
b. Access and retrieval times are quite slow.
c. TreeSet stores elements sorted ascending order
d. Uses a LinkedList structure to store elements
Reveal Answer
Options:
a. java.util.HashMap
b. java.util.Hashtable
c. java.util.LinkedHashMap
d. java.util.LinkedList
Reveal Answer
Options:
a. Iterator interface
b. ListIterator interface
c. Enumeration interface
d. None of the above
Reveal Answer
Options:
a. java.util.Map
b. java.util.Set
c. java.util.List
d. java.util.Collection
Reveal Answer
Options:
a. HashMap class extends AbstractMap and implements Map interface.
b. HashMap class is not synchronized.
c. HashMap uses a hashtable to store the map.
d. HashMap maintain order of its element.
Reveal Answer
Bestitcourse google plus

Thank you for visiting BestITCourses, How can I help you

Thank you for visiting BestITCourses, How can I help you